export function is_url(url:string) {
    var pattern = /^(http|https):\/\/[^\s]+$/;
    return pattern.test(url)
}
export function is_phone(phone:  string) {
    var pattern = /^1[3|5|7|8|][0-9]{9}$/;
    return pattern.test(phone)
} 